﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace enterData
{
    public partial class FormImage : Form
    {
        enterData.FormED2 f2;
        public FormImage()
        {
            InitializeComponent();
        }
        void loadImages(ImageList gr)
        {
            //f2 = new FormED2();
            //ImageList gr = f2.imageList_group;
            //ImageList it = f2.imageList_items;
            for(int j=0; j<gr.Images.Count;j++)
            {
                //listView1.Items.Add(j.ToString());
            }
           
            for (int i = 0; i < gr.Images.Count; i++)
            {
                    //listView1.Items[i].
                    //listView1.Items[i].ImageIndex = Convert.ToInt32(listView1.Items[i].Text);   
            }
        }

        private void toolStripButton1_Click(object sender, EventArgs e)
        {
            f2 = new FormED2();
            ImageList gr = f2.imageList_group;
            loadImages(gr);         
        }
    }
}
